package es.ceura.wilder.resources;

/**
 *
 * @author Jorge Madrid
 */
public class HTTPResource {

    private byte[] data;
    private String contentType;

    public HTTPResource(byte[] data, String contentType) {
        this.data = data;
        this.contentType = contentType;
    }

    public String getContentType() {
        return contentType;
    }

    public byte[] getData() {
        return data;
    }

    public long getDataSize() {
        return data.length;
    }
}
